home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
X11
/
resize.z
/
resize
Wrap
Text File
|
1998-10-20
|
4KB
|
133 lines
RRRREEEESSSSIIIIZZZZEEEE((((1111)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333)))) RRRREEEESSSSIIIIZZZZEEEE((((1111))))
NNNNAAAAMMMMEEEE
resize - set TERMCAP and terminal settings to current xterm
window size
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
rrrreeeessssiiiizzzzeeee [ ----uuuu | ----cccc ] [ ----ssss [ _r_o_w _c_o_l ] ]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_R_e_s_i_z_e prints a shell command for setting the TERM and
TERMCAP environment variables to indicate the current size
of _x_t_e_r_m window from which the command is run. For this
output to take effect, _r_e_s_i_z_e must either be evaluated as
part of the command line (usually done with a shell alias or
function) or else redirected to a file which can then be
read in. From the C shell (usually known as /_b_i_n/_c_s_h), the
following alias could be defined in the user's ._c_s_h_r_c:
% alias rs 'set noglob; eval `_r_e_s_i_z_e`'
After resizing the window, the user would type:
% rs
Users of versions of the Bourne shell (usually known as
/_b_i_n/_s_h) that don't have command functions will need to send
the output to a temporary file and the read it back in with
the ``.'' command:
$ resize > /tmp/out
$ . /tmp/out
OOOOPPPPTTTTIIIIOOOONNNNSSSS
The following options may be used with _r_e_s_i_z_e:
----uuuu This option indicates that Bourne shell commands
should be generated even if the user's current shell
isn't /_b_i_n/_s_h.
----cccc This option indicates that C shell commands should
be generated even if the user's current shell isn't
/_b_i_n/_c_s_h.
----ssss [_r_o_w_s _c_o_l_u_m_n_s]
This option indicates that Sun console escape
sequences will be used instead of the special _x_t_e_r_m
escape code. If _r_o_w_s and _c_o_l_u_m_n_s are given, _r_e_s_i_z_e
will ask the _x_t_e_r_m to resize itself. However, the
window manager may choose to disallow the change.
FFFFIIIILLLLEEEESSSS
/etc/termcap for the base termcap entry to modify.
Page 1 (printed 4/30/98)
RRRREEEESSSSIIIIZZZZEEEE((((1111)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333)))) RRRREEEESSSSIIIIZZZZEEEE((((1111))))
~/.cshrc user's alias for the command.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
csh(1), tset(1), xterm(1)
AAAAUUUUTTTTHHHHOOOORRRRSSSS
Mark Vandevoorde (MIT-Athena), Edward Moy (Berkeley)
Copyright (c) 1984, 1985 by X Consortium
See _X(1) for a complete copyright notice.
BBBBUUUUGGGGSSSS
The ----uuuu or ----cccc must appear to the left of ----ssss if both are
specified.
Page 2 (printed 4/30/98)